FROM java:8
ADD vsm-data-manage-1.0-SNAPSHOT.jar app.jar
EXPOSE 8081
ENV TZ=Asia/Shanghai
RUN sh -c 'touch /app.jar' && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENTRYPOINT ["java", "-jar", "/app.jar"]






